package com.shejimoshi.单例模式.枚举学习.使用接口组织枚举;

public interface Food {
    enum Coffe implements Food{
        A_COFFE{
            @Override
            public void display() {

            }
        },B_COFFE{
            @Override
            public void display() {

            }
        };
    }

    enum Fruit implements Food{
        A_FRUIT{
            @Override
            public void display() {

            }
        },B_FRUIT{
            @Override
            public void display() {

            }
        };
    }

    public void display();
}
